翻訳と辞書
Words near each other
・ X link domain
・ X linked thrombocytopenia
・ X logical font description
・ X Macro
・ X mark
・ X Marks Destination
・ X (roller coaster)
・ X (Royal Hunt album)
・ X (Spock's Beard album)
・ X (The 69 Eyes album)
・ X (The X-Files)
・ X (Trace Adkins album)
・ X (Tribal Tech album)
・ X (Xbox show)
・ X (Xzibit song)
X + Y sorting
・ X -Cross-
・ X 2000
・ X Ambassadors
・ X and Others v Austria
・ X and Y bosons
・ X Andromedae
・ X Anniversarium
・ X Article
・ X Athena Widgets
・ X band
・ X Band Satellite Communication
・ X bar
・ X Bar X Boys
・ X BitMap


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

X + Y sorting : ウィキペディア英語版
X + Y sorting

In computer science, X + Y sorting is the problem of sorting pairs of numbers by their sum. Given two finite sets and , the problem is to order all pairs in the Cartesian product by the key . The problem is attributed to Elwyn Berlekamp.
This problem can be solved using a straightforward comparison sort on the Cartesian product, taking time for sets of sizes and . When it is assumed that , the complexity is , which is also the best known bound on the problem, but whether X + Y sorting can be done strictly faster than sorting arbitrary numbers is an open problem.〔
The number of required comparisons is certainly lower than for ordinary comparison sorting: Fredman showed, in 1976, that X + Y sorting can be done using only comparisons, though he did not show an algorithm. The first actual algorithm that achieves this number of comparisons and total complexity was only published sixteen years later.
On a RAM machine with word size and integer inputs , the problem can be solved in operations by means of the fast Fourier transform.
Skiena recounts a practical application in transit fare minimisation, an instance of the shortest path problem: given fares and for trips from departure A to some intermediate destination B and from B to final destination C, determine the least expensive combined trip from A to C.
==See also==

* 3SUM
* Integer sorting

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「X + Y sorting」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.